
OAction("contains", {

	string: function(sub) {
		return this.obj().indexOf(sub) > -1;
	},
	
	number: function(num) {
		return this.obj() >= num;
	},

	array: function(item) {
		
		var found = false;
		this.each(function(o){
			if (o == item) {
			
				// found it
				found = true;
				
				// stop looking
				return false;

			}
		});
		
		// didn't find it
		return found;
		
	}

});

OProvides("objx.contains");